﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Activity.Model
{
    public class KMSalesYearOnYearReportModel
    {
        public class SqlModel
        {
            public string CompanyID { get; set; }
            public string OperationAreaID { get; set; }
            public string OperationAreaName { get; set; }
            public string ShopID { get; set; }
            public string ShopName { get; set; }
            public int Level { get; set; }
            public string SaleDate { get; set; }
            public decimal? SaleAmount { get; set; }
            public decimal? CalSaleAmount12 { get; set; }
            public decimal? CalSaleAmount2 { get; set; }
            public decimal? CalSaleAmount13 { get; set; }
            public decimal? CalSaleAmount3 { get; set; }
        }

        public class OperatorAreaModel
        {
            public string CompanyID { get; set; }
            public string OperationAreaID { get; set; }
            public string OperationAreaName { get; set; }
            public int Level { get; set; }
            public string SaleDate { get; set; }
            public decimal? SaleAmount { get; set; }
            public decimal? CalSaleAmount12 { get; set; }
            public decimal? CalSaleAmount2 { get; set; }
            public decimal? CalSaleAmount13 { get; set; }
            public decimal? CalSaleAmount3 { get; set; }
        }

        public class ShopModel
        {
            public string CompanyID { get; set; }
            public string ShopID { get; set; }
            public string ShopName { get; set; }
            public int Level { get; set; }
            public string SaleDate { get; set; }
            public decimal? SaleAmount { get; set; }
        }
        public class ShowModel
        {
            public string CompanyID { get; set; }
            public string OperationAreaOrShopID { get; set; }
            public string OperationAreaOrShopName { get; set; }
            public int Level { get; set; }
            public string SaleDate1 { get; set; }
            public decimal? SaleAmount1 { get; set; }
            public string SaleDate2 { get; set; }
            public decimal? SaleAmount2 { get; set; }
            public decimal? Compared2 { get; set; }
            public string SaleDate3 { get; set; }
            public decimal? SaleAmount3 { get; set; }
            public decimal? Compared3 { get; set; }
        }
    }
}
